import React from 'react';
import { useParams } from 'react-router-dom';

const YhglViews = (props) => {
  // console.log(props);  // {}
  const params = useParams()  // 获取动态路由得参数
  console.log(params); //{id: '123'}

  return (
    <div>
      <h1>用户管理</h1>
    </div>
  );
}

export default YhglViews;
